<template>
  <div class="app-container">

    <!-- 基础样式 -->
    <el-card shadow="never" class="mb16">
      <div slot="header">
        <span>基础样式</span>
      </div>
      <el-table :data="tableData">
        <template slot="empty">
          <el-empty image-size="130" />
        </template>
        <el-table-column prop="name" label="姓名" align="center" />
        <el-table-column prop="date" label="日期" align="center" />
        <el-table-column prop="address" label="地址" align="center" />
      </el-table>
    </el-card>

    <!-- 自定义样式 -->
    <el-card shadow="never">
      <div slot="header">
        <span>自定义样式</span>
      </div>
      <el-table :data="tableData" style="width: 100%">
        <template slot="empty">
          <el-empty image-size="230" :description="empty_description">
            <img slot="image" src="@/assets/images/empty.png" style="width:100%">
            <el-button type="primary">创建应用</el-button>
          </el-empty>
        </template>
        <el-table-column prop="name" label="姓名" align="center" />
        <el-table-column prop="date" label="日期" align="center" />
        <el-table-column prop="address" label="地址" align="center" />
      </el-table>
    </el-card>

    <!-- 回到顶部 -->
    <el-backtop :right="12" />
  </div>
</template>

<script>
export default {
  name: 'Skeleton',
  data() {
    return {
      tableData: [],
      empty_description: '您还未创建应用'
    }
  },
  mounted() {},
  methods: {}
}
</script>

<style lang='scss' scoped>
</style>
